package com.zuoye.zuoye4;

public class Person {
    private int idCard;
    private String username;

    public Person(int idCard, String username) {
        this.idCard = idCard;
        this.username = username;
    }

    public Person() {
    }

    public int getIdCard() {
        return idCard;
    }

    public void setIdCard(int idCard) {
        this.idCard = idCard;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "Person{" +
                "idCard=" + idCard +
                ", username='" + username + '\'' +
                '}';
    }
}
